package com.ysqcould.message.utils.wxmessage;

/**
 * 封装模板消息
 */
public class Data {
    private String id;
    private String name;  //固定标题(多加的)
    private String mark;  //参数名
    private String value; //参数值
    private String color; //颜色

    public Data(String name, String value, String color) {
        super();
        this.name = name;
        this.value = value;
        this.color = color;
    }

    public Data() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }

    public String getColor() {
        return color==null ? "#173177" : color;
    }
    public void setColor(String color) {
        this.color = color;
    }

}
